package com.green.service.manage.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.green.dao.manage.AreaDao;
import com.green.model.manage.Area;
import com.green.service.common.impl.BaseServiceImpl;
import com.green.service.manage.AreaService;



/**
 * 人员
 * 
 */
@Repository("areaService")
public class AreaServiceImpl extends BaseServiceImpl implements AreaService {
	@Autowired
	private AreaDao areaDao;
	@Override
	public int insertArea(Area ct) {
		return areaDao.insertArea(ct);
	}

	@Override
	public int updateArea(Area ct) {
		return areaDao.updateArea(ct);
	}

	@Override
	public int deleteArea(Map<String, Object> param) {
		return areaDao.deleteArea(param);
	}

	@Override
	public Area getAreaById(String id) {
		return areaDao.getAreaById(id);
	}

	@Override
	public List<Area> getAreaList(Map<String, Object> param) {
		return areaDao.getAreaList(param);
	}
	
	
}
